﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/Content.Master" AutoEventWireup="true" CodeBehind="DailyList.aspx.cs" Inherits="RED_NET.ContentPage.MyDailyList" Title="无标题页" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
<link href="../../Image_Css/NewsCss/DailyListCss.css"  rel="Stylesheet" type="text/css" />  
<div class="Cen1" >
  <div class="PP1">日志
    <asp:Label ID="Label_NULL" runat="server" ForeColor="White" Font-Size="Large" Text="主人比较懒，还没写任何日志！！"></asp:Label>
    <br /></div>
    <div class="New2" style="font-size: 12px">
    <asp:GridView ID="GridView_Daily" runat="server"  Width="100%" 
          AutoGenerateColumns="False"  AllowPaging="True"  PagerSettings-Mode="Numeric" 
        onrowcreated="GridView_Daily_RowCreated" ShowHeader="False"  
          OnPageIndexChanging="GridView_Daily_PageIndexChanging" GridLines="None"
         OnRowCommand="GridView_Daily_RowCommand" AlternatingRowStyle-Wrap="False" 
          OnDataBinding ="DataList_Daily_ItemDataBound" BorderWidth="2px" 
          BackColor="White" BorderColor="White" BorderStyle="Ridge" CellPadding="3" 
            CellSpacing="1" Font-Size="12px" 
          
           
         >
       
        <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
       
    <Columns > 
    <asp:TemplateField>
  
                    <ItemTemplate>
                    <div id="DailyList">
        <br /><br />
        <div id="Cover">
                <div id="Title_Time">
                    <asp:LinkButton ID="LinkButton_Title"  runat="server" Text='<%#Eval("_Title")%>'  PostBackUrl='<%#"ShowDaily.aspx?_Id="+Eval("_Id")+"&VISIT_ID="+Eval("_UId")%>' Font-Bold="True" Font-Size="X-Large"></asp:LinkButton>
                 &nbsp&nbsp
                   
                      <asp:Label ID="Label_Time"  runat="server" Text='<%#Eval("_UpdateTime")%>' ></asp:Label>
                      <br />
                 </div>
                      <br  />
                      <br />
                      <div id="Content">
                     <br />
                  <p> <%#Eval("_Content")%></p>
                      <br />
                    <br />

                           </div>
                           <br /><br />
                   <div  id="Div_Re_Com_Del">
                    <asp:LinkButton ID="LinkButton_Read" runat="server" Text='<%#"阅读 ("+Eval("_ReadNum")+")"%>' PostBackUrl='<%#"ShowDaily.aspx?_Id="+Eval("_Id")+"&VISIT_ID="+Eval("_UId")%>'></asp:LinkButton>
                    &nbsp&nbsp
                        <asp:LinkButton ID="LinkButton_Comment" runat="server" Text='<%#"评论 ("+Eval("_ReplyNum")+")"%>' PostBackUrl='<%#"ShowDaily.aspx?_Id="+Eval("_Id")+"&VISIT_ID="+Eval("_UId")%>'></asp:LinkButton>
                          &nbsp&nbsp
                           <asp:LinkButton ID="LinkButton_Delete" runat="server"  CommandName="delete"  Text="删除"   ></asp:LinkButton>
                        </div>
           </div>
                         <br /><br />
                     </div>      
                    </ItemTemplate>
                    
 </asp:TemplateField>
    <asp:BoundField  DataField="_Id" />
    
    
 

    </Columns>
        <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
        <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
        <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
        <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />

<AlternatingRowStyle Wrap="False"></AlternatingRowStyle>
    </asp:GridView>
   </div>   
 </div>   
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ContentPlaceHolder3" runat="server">
</asp:Content>
